let index_=new Vue({
    el:"#index",
    data:{
        appointments : [],
        pageInfo:""
    },
    methods:{
        loadmypatient:function() {
            axios({
                url:"/add_appointment/myappointment",
                method:"get"
            }).then(function(r) {
                console.log(r.data);
            })
        },
        loadAppointments:function() {

        }
    },
    created:function() {
        this.loadmypatient();
    }

})